package com.example.web.service;

import com.example.web.pojo.Result;
import com.example.web.pojo.UserT;
import com.example.web.pojo.dto.NewPassword;

public interface UserTService {

    //登录
    Result login(UserT userT);

    //注册
    Result register(UserT userT);

    //修改密码
    Result updatePassword(NewPassword newPassword);

    //删除
    Result delete(String name);
}
